package request

import (
	"server/apps/xidw/xidw_mod"
	"server/global"
)

type AddMenuAuthorityInfo struct {
	Menus       []xidw_mod.SysBaseMenu `json:"menus"`
	AuthorityId uint                   `json:"authorityId"`
}

func DefaultMenu() []xidw_mod.SysBaseMenu {
	return []xidw_mod.SysBaseMenu{{
		BaseModel: global.BaseModel{ID: 1},
		ParentId:  "0",
		Path:      "dashboard",
		Name:      "dashboard",
		Component: "view/dashboard/index.vue",
		Sort:      1,
		Meta: xidw_mod.Meta{
			Title: "仪表盘",
			Icon:  "setting",
		},
	}}
}
